Hello,
There is a video on landing page which automatically gets played when the page gets loaded fully. I have configured page view call for page view and link call for video play. Since the video is playing automatically on page load, link call for video play is triggering before page view call. Is there any way to trigger page view call before link call?
Solved! Go to Solution.
Views
Replies
Total Likes
@souravc454 Enters Viewport would trigger the call irrespective of video being played or not but I am assuming that is not an issue here. Your video seems to be above the fold so every time it enters the viewport when the page loads. If that is okay with you, you can trigger the video call with a direct call rule invocation using _satellite.track method within the pageview rule once you've triggered the pageview call. You can add another action at the end of the pageview rule which would have _satellite.track('<string name would go here>') and then this string can be the trigger for the video link tracking rule. Please makre sure you do a url check cause I am assuming this video would not be on all the pages else the pageview rule might trigger link tracking even on pages the video is not present.
Having mentioned the above, I would suggest a custom event instead of a enters viewport if that is a possibility. I am pretty sure in that scenario your link track would happen post pageview anyways.
Hope the above helps.
Cheers
Views
Replies
Total Likes
Views
Replies
Total Likes
Event type is "Enters Viewport".
Views
Replies
Total Likes
@souravc454 Enters Viewport would trigger the call irrespective of video being played or not but I am assuming that is not an issue here. Your video seems to be above the fold so every time it enters the viewport when the page loads. If that is okay with you, you can trigger the video call with a direct call rule invocation using _satellite.track method within the pageview rule once you've triggered the pageview call. You can add another action at the end of the pageview rule which would have _satellite.track('<string name would go here>') and then this string can be the trigger for the video link tracking rule. Please makre sure you do a url check cause I am assuming this video would not be on all the pages else the pageview rule might trigger link tracking even on pages the video is not present.
Having mentioned the above, I would suggest a custom event instead of a enters viewport if that is a possibility. I am pretty sure in that scenario your link track would happen post pageview anyways.
Hope the above helps.
Cheers
Views
Replies
Total Likes
Yeah Thanks Abhinav for such a detailed illustration.
Most welcome Sourav. Let us know if you face any issues.
Views
Replies
Total Likes
Sure.
Views
Replies
Total Likes
Views
Likes
Replies