Hi everyone!
We've migrated from DTM to Launch.
We have some legacy page view events in our custom code that fire both the hit and visit based variant of the event when a customer visits a specific page:
if (pageName == "section|subsection1|subsection2|title") {
s.events = s.events ? s.events += ',' + 'event1,event2' : 'event1,event2';
}
The hit based variant of the event tracked against the page views metric in Analytics exactly when deploying with DTM, but since migrating to Launch the event metric exceeds the page views metric by about 50%. After firing the event I'm using the 'Clear Variables' action to reset the event string and when debugging I can't see multiple instances of the same event.
Does Launch process or send events differently? Is there something I need to tweak in the configuration?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Philip,
What I would advise to start with is to optimize the code the way that event1 and event2 are appended through the s.apl() plugin to prevent events duplication in case they are set somewhere else (in other rules, for example).
Ideally, share the website URL and scenario where that is happening. I am sure we will find an issue in the code. Alternatively, share the library URL and I will help you debug the Launch implementation via Launch Inspector.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
If you don't mind sharing the URL I can take a look as well. You can reach out to me via DM or find me on measure slack (Francis Li)
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
@Andrey_Osadchuk , @Andrew_Wathen_ - Any ideas here?
Views
Replies
Total Likes
Philip,
What I would advise to start with is to optimize the code the way that event1 and event2 are appended through the s.apl() plugin to prevent events duplication in case they are set somewhere else (in other rules, for example).
Ideally, share the website URL and scenario where that is happening. I am sure we will find an issue in the code. Alternatively, share the library URL and I will help you debug the Launch implementation via Launch Inspector.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies
Views
Likes
Replies