user
@anneruthj
conversion tracking on a certain slide from a certain platform
I want to track if a user comes to a certain slide, which platform did he come from when I launch multiple campaigns at the same time. For instance, I am campaigning on TikTok, Twitter and Google. I want to know how many users reaching slide 7 are coming for each platform. Is this possible to track?
reply
Reply
user
@support
One way to do this is if you add different url parameters to each source. For example, the url on tiktok will be https://yourpage.com?utm_campaign=tiktok
Facebook - https://yourpage.com?=utm_campaign=facebook

And on side 7 add a trigger to write a custom event to the User Flow log:

let url_string = window.location.href;
let url = new URL(url_string);
if (url.searchParams.get("utm_campaign")) {
userflowEvent(url.searchParams.get("utm_campaign"));
}
reply
Reply
user
@anneruthj
I have added the javascript code, and it works when I publish the articulate course in review mode. But, it doesn't fire when the course is added to the wordpress website. Any tips?
reply
Reply
user
@support
I would first verify that the utm_campaign parameter is present in the URL and that it's not overwritten by Wordpress. And if course that nothing has changed in terms of triggers and javascript.
reply
Reply