Showing "signup cta" quickly

I can see my “signup cta”, but it seems that it will be shown after about 5 minutes.
How can I change this “5 minutes” to “0 minutes”?

2 Likes

Now it seems that I can see signup CTA as soon as I open any page.
So, there is no problem at all now.

However, I have tested this under incognito mode.
I have not seen signup CTA without incognito mode.

What is the reason that I haven’t seen signup CTA without incognito mode?

1 Like

Perhaps you dismissed it?

We don’t show the signup cta by default because sites that prompt you to sign up on your very first page-view are annoying. We only show it if the user has expressed some interest in your site.

The requirements are as follows:

  1. the user must have a total reading time of at least 2 minutes

https://github.com/discourse/discourse/blob/ca57e18f42967414bd34db12e0e1425eeb75d857/app/assets/javascripts/discourse/initializers/signup-cta.js.es6#L48-L50

ANON_PROMPT_READ_TIME is defined here

https://github.com/discourse/discourse/blob/ca57e18f42967414bd34db12e0e1425eeb75d857/app/assets/javascripts/discourse/initializers/signup-cta.js.es6#L4

  1. the user must view more than two topics on your site

https://github.com/discourse/discourse/blob/ca57e18f42967414bd34db12e0e1425eeb75d857/app/assets/javascripts/discourse/initializers/signup-cta.js.es6#L57-L59

ANON_TOPIC_IDS is defined here

https://github.com/discourse/discourse/blob/ca57e18f42967414bd34db12e0e1425eeb75d857/app/assets/javascripts/discourse/initializers/signup-cta.js.es6#L3

Once those requirements are met, the cta will be shown, otherwise, it won’t.

8 Likes

I see. Now I understand how singnup cta is shown. Thanks!

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.