Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Omniture Flow

Avatar

Level 1

I’m new to Omniture tracking, I’ve done some reading of the documentation and I think I have a handle on how it works. My question is specifically about the flow of data. For example I need to track submission of a form - an event. My code is as follows:

In the footer of each page I have:

<script language="javascript" type="text/javascript">Omniture_s.channel = My Site”;Omniture_s.pageName = Track this page”;Omniture_s.prop1 = "My Test Omniture Project”;Omniture_s.eVa5 = Omniture_s.prop1;var s_code = Omniture_s.t();if (s_code) document.write(s_code);</script>

The above should populate the generic variables which each page load requires.

Then in a separate .js file which is included after the above I have the following to track the form submission:

<script language="javascript" type="text/javascript">$( '#form-contact' ).submit(function() {Omniture_s.events = "events1";Omniture_s.tl();event.preventDefault();});</script>

Does the flow and logic look correct here. I’m a little concerned because in the Adobe Cloud Debugger that I have setup I see 3 requests. The first doesn’t track the form submit (the initial page form page load) but the 2nd and 3rd requests do. Is this correct? I’m worried about tracking the submit click multiple times and corrupting my stats.

Thank you in advance.

Bob.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Since this is an older post, I'm assuming you've solved this issue. Incase others find this post, I'll post the link to the documentation below:

https://experienceleague.adobe.com/docs/analytics/analyze/analysis-workspace/visualizations/flow/flo...

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Since this is an older post, I'm assuming you've solved this issue. Incase others find this post, I'll post the link to the documentation below:

https://experienceleague.adobe.com/docs/analytics/analyze/analysis-workspace/visualizations/flow/flo...