Conversation
There was a problem hiding this comment.
@AvdLee when is this notification triggered? I tried testing it by subscribing to the newsletter via the form on the home page. However, I then get the following success notification:
I an external site or app redirecting to https://rocketsim.app?show_email_confirmation=1?
There was a problem hiding this comment.
Yes, when you sign up to the form you've used as well, you'll get an email to confirm your email address. Once you click the button in that email, you'll go to https://rocketsim.app?show_email_confirmation=1
There was a problem hiding this comment.
Ah wait, I get your confusion now, the copy is odd! This is the actual scenario:
- Someone receives SwiftLee Weekly
- Clicks inside the newsletter on "Join RocketSim newsletter"
- Navigates to https://rocketsim.app?show_email_confirmation=1 as a confirmation
- Opens their email to confirm etc.
| <!-- Google Tag Manager --> | ||
| <script is:inline> | ||
| (function (w, d, s, l, i) { | ||
| w[l] = w[l] || []; | ||
| w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" }); | ||
| var f = d.getElementsByTagName(s)[0], | ||
| j = d.createElement(s), | ||
| dl = l != "dataLayer" ? "&l=" + l : ""; | ||
| j.async = true; | ||
| j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl; | ||
| f.parentNode.insertBefore(j, f); | ||
| })(window, document, "script", "dataLayer", "GTM-59LFW4F4"); | ||
| </script> | ||
| <!-- End Google Tag Manager --> | ||
|
|
||
| <!-- Plausible --> | ||
| <script | ||
| is:inline | ||
| defer | ||
| data-domain="rocketsim.app" | ||
| src="https://plausible.io/js/script.tagged-events.js"></script> | ||
| <script> | ||
| window.plausible = | ||
| window.plausible || | ||
| function () { | ||
| (window.plausible.q = window.plausible.q || []).push(arguments); | ||
| }; | ||
| </script> | ||
| <!-- End Plausible --> |
There was a problem hiding this comment.
@AvdLee These scripts are added to all pages, including the privacy and terms pages. Is that okay?
Nope, don't think so! We should be able to rely on GTag solely. Let's just go with this PR and fix if we run into issues afterwards. It's good to start with a clean slate ✨ |

This PR adds the following:
ctquery param for app store urlplausible-event-name=Explore+Team+InsightsonExplore Team Insightsbuttonplausible-event-name=App+Store+InstallonDownload nowbuttonStored Refererafter running the script to determinect