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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

kunjalk3064084
kunjalk3064084
Offline
  • 01-02-2018
    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!

    Type

    Questions

    Views

    3.3K

    Likes

    0

    Replies

    0
  • 01-02-2018
    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?

    Type

    Questions

    Views

    2.3K

    Likes

    0

    Replies

    0
  • 30-01-2018
    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"...

    Type

    Discussions

    Views

    6.1K

    Likes

    0

    Replies

    1
  • 29-01-2018
    it is an s.t() rule

    Type

    Discussions

    Views

    6.1K

    Likes

    0

    Replies

    1
  • 29-01-2018
    will this have an impact on other events in the same rule?

    Type

    Discussions

    Views

    5.6K

    Likes

    0

    Replies

    0
  • 28-01-2018
    my bad. it is s.events="event1" so evar5 and prop5 getting triggered but event1 not getting triggered.

    Type

    Discussions

    Views

    5.6K

    Likes

    0

    Replies

    3
  • 28-01-2018
    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?

    Type

    Discussions

    Views

    5.6K

    Likes

    0

    Replies

    6
  • 25-01-2018
    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('tes...

    Type

    Discussions

    Views

    6.9K

    Like

    1

    Replies

    15
Top badges earned by kunjalk3064084
Customize the badges you want to showcase on your profile