Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

DTM Cant overwrite Existing (non-dtm implementation) Pagename w/ DTM Page Load Rule

Avatar

Avatar
Validate 1
Level 1
sloanm66170026
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
sloanm66170026
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
sloanm66170026
Level 1

15-10-2015

Have an existing non-DTM Omniture implementation.  Using DTM I want to overwrite the s.pagename when a URL Parameter Name 'name' exists.

Currently (existing Omniture implementation), when this page loads, the s.pagename is set to "Search"

However, I want to use DTM to set s.pagename = "search results"

SO---I created a pageload rule:

    1. Condition: URL Parameter Name 'name', URL Parmameter Value (regex) ".+"

    2. Adobe Analytics: Set Page Name to "search results"  

***using the debugger, I see in the console that the rule fires*** 

NOTE: When I uncheck "Adobe Analytics page code is already present", the s.pagename is recorded correctly according to the page load rule ("search results"). However, when it's checked, the s.pagename is still "Search". My DTM Rule is overwritten.

Im new to DTM, however, I'm wondering what I'm doing wrong. Here is a sample URL:

http://directory.designnews.com/live/list.jsp?name=+linemaster+switch&SugName=+linemaster+switch&Com...

Thank you in advance.smiley

Replies

Avatar

Avatar
Boost 5
Employee
Rudi_Shumpert
Employee

Likes

8 likes

Total Posts

64 posts

Correct Reply

24 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 5
View profile

Avatar
Boost 5
Employee
Rudi_Shumpert
Employee

Likes

8 likes

Total Posts

64 posts

Correct Reply

24 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 5
View profile
Rudi_Shumpert
Employee

15-10-2015

The issue is how the "Adobe Analytics Page Code is already present" works.  When selected DTM will not activate any of the page load rules, as you discovered.  The assumption is that you already have page code on the site and that is handling the analytics.  This option does NOT run any sort of detection to see if it can find your code first and then execute if it is not already there.

Avatar

Avatar
Validate 1
Level 1
sloanm66170026
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
sloanm66170026
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
sloanm66170026
Level 1

15-10-2015

Rudi Shumpert wrote...

The issue is how the "Adobe Analytics Page Code is already present" works.  When selected DTM will not activate any of the page load rules, as you discovered.  The assumption is that you already have page code on the site and that is handling the analytics.  This option does NOT run any sort of detection to see if it can find your code first and then execute if it is not already there.

 

Got it.

As mentioned earlier, I have a search results page currently non-dtm Omniture tagged. I want to capture the search results' search terms. Since I cannot capture them with a page load rule, is there another way? Event-based rules don't seem to apply as the user hasn't interacted with the page. . Any advice?

Avatar

Avatar
Boost 5
Employee
Rudi_Shumpert
Employee

Likes

8 likes

Total Posts

64 posts

Correct Reply

24 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 5
View profile

Avatar
Boost 5
Employee
Rudi_Shumpert
Employee

Likes

8 likes

Total Posts

64 posts

Correct Reply

24 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 5
View profile
Rudi_Shumpert
Employee

15-10-2015

You could build an event based rule to capture the search term at the click on the submit for search instead of the results page.

Avatar

Avatar
Validate 10
Level 3
sanmeetw1519854
Level 3

Likes

19 likes

Total Posts

40 posts

Correct Reply

3 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
sanmeetw1519854
Level 3

Likes

19 likes

Total Posts

40 posts

Correct Reply

3 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
sanmeetw1519854
Level 3

15-10-2015

Hello Sloan,

I just checked your website.

You can do this to capture search terms. 

Go to overview > Click on settings icon of the tool which you have deployed for this> Customize page code > Open Editor

Now for example you want to capture your search terms in prop9, then type this code-

s.prop9=s.Util.getQueryParam('name');

This should solve your objective.

@Rudi, correct me if I am wrong.

Sanmeet