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

kunjalk3064084
Community profile kunjalk3064084 Level 2
Job title here
Location here
2 BADGES
Level 2

Level 2

Learn more
Joined the community 12-01-2018 3:57:15 AM
Offline
Top badges earned by kunjalk3064084
Customize the badges you want to showcase on your profile
Re: Using UTM parameters in Adobe Analytics
Avatar
Boost 1
Level 2
kunjalk3064084
Level 2

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
Applaud 5
View profile
kunjalk3064084
- Adobe Analytics
Hi,the custom code mentioned here shows an error for line 1. the "[ ]" are not accepted. only way to save the code was to declare TCode as a variable not an array. could you help with the syntax to declare an array for custom data element?Thanks!

Views

2.2K

Likes

0

Replies

0
Re: Campaign tracking with mutiple ? in url
Avatar
Boost 1
Level 2
kunjalk3064084
Level 2

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
Applaud 5
View profile
kunjalk3064084
- Adobe Analytics
Hi,I am using getQueryParam plugin 2.3 to set s.campaign but it doesn't accept multiple valuess.campaign=s.getQueryParam('utm_source,utm_medium,utm_term,utm_campaign',':');returns an errors.campaign=s.getQueryParam('utm_source');returns the source value in s.campaignis there a solution for this?

Views

1.5K

Likes

0

Replies

0
Re: javascript conditions in DTM custom code
Avatar
Boost 1
Level 2
kunjalk3064084
Level 2

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
Applaud 5
View profile
kunjalk3064084
- Adobe Analytics
update:replaced s.pageURL with window.document.URL and the rule seems to work fine. however only the first part of the condition is being considered i.e. rules fires when URL contains /xyz but not when it contains /abc. if (window.document.URL.indexOf("/xyz")>-1 || window.document.URL.indexOf("/abc")>-1)is there any other way to implement an OR condition?

Views

5.4K

Likes

0

Replies

1
Re: javascript conditions in DTM custom code
Avatar
Boost 1
Level 2
kunjalk3064084
Level 2

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
Applaud 5
View profile
kunjalk3064084
- Adobe Analytics
it is an s.t() rule

Views

5.4K

Likes

0

Replies

1
Re: javascript conditions in DTM custom code
Avatar
Boost 1
Level 2
kunjalk3064084
Level 2

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
Applaud 5
View profile
kunjalk3064084
- Adobe Analytics
will this have an impact on other events in the same rule?

Views

4.9K

Likes

0

Replies

0
Re: javascript conditions in DTM custom code
Avatar
Boost 1
Level 2
kunjalk3064084
Level 2

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
Applaud 5
View profile
kunjalk3064084
- Adobe Analytics
my bad. it is s.events="event1" so evar5 and prop5 getting triggered but event1 not getting triggered.

Views

4.9K

Likes

0

Replies

3
Re: javascript conditions in DTM custom code
Avatar
Boost 1
Level 2
kunjalk3064084
Level 2

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
Applaud 5
View profile
kunjalk3064084
- Adobe Analytics
i am getting data for evar and prop but not for the event. is it required to pass values into event after the evar and prop?

Views

4.9K

Likes

0

Replies

6
javascript conditions in DTM custom code
Avatar
Boost 1
Level 2
kunjalk3064084
Level 2

Like

1 like

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
Applaud 5
View profile
kunjalk3064084
- Adobe Analytics
Hi,I am trying to set values in some evars, props and events based on keywords present in the URL in the custom code of a direct call rule. so IF the URL contains xyz or abc, set if (s.pageURL.indexOf("/xyz")>-1 || s.pageURL.indexOf("/abc")>-1){s.event="event1";s.prop5=s.eVar5=_satellite.getVar('test');}any idea on how to make these conditions work?

Views

6.1K

Like

1

Replies

15