Leiste mit Community-Erfolgen erweitern.

floriane3493069
floriane3493069
Offline
Typ
  • Alle
  • Fragen
  • Diskussionen
  • Ideen
  • Blogs
Nach Beiträgen filtern
  • Hi there,I set up a couple of click events in DTM. I also added custom variables to each click event in order to save the link name. I did this with two links on my page (it is a one page website). I tried to debug it and now something very strange happens.if I click on the first link, everything is...

    Typ

    Fragen

    Zugriffe

    5.1K

    Likes

    2

    Antworten

    3
  • Hi Rameshk,thanks for your help. Do you know if there is another way to combine the two pages? If I create a pages report I will still see the two pages. Can I make 1 page out of these two pages?Thanks...

    Typ

    Fragen

    Zugriffe

    2.5K

    Likes

    0

    Antworten

    0
  • Hi there,I have one Page with the name page_xyz. Unfortunatelly we had to change the name of the page to page_xyz123. Nothing else on this page has changed. If I want to analyze the traffic of this page I have to sum up the traffic of of page_xyz and page_xyz123. I tried to rename page_xyz but now I...

    Typ

    Fragen

    Zugriffe

    3.4K

    Like

    1

    Antworten

    3
  • Hi guys,thank you for your great support. I made a mistake. I tried to put to code directly into the js object field. But then I put the code into the custom script editor. It looks like this now:return document.URL.substr(document.URL.indexOf('#')+4);  And it works Thanks a lot.Best Florian

    Typ

    Fragen

    Zugriffe

    3.9K

    Likes

    0

    Antworten

    0
  • Hi Jantzen,thank you for your quick response. Unfortunatelly it does not work. If I put your code in the data element I only get the default value.If I use location.hash it works perfectly well but then I get  whole anchor part of the URL, including the hash sign (#) Any other ideas?Thank you.Flori...

    Typ

    Fragen

    Zugriffe

    3.9K

    Like

    1

    Antworten

    0
  • Hi there,I am using DTM and I wanted to create a data element using the hash (#) value from an url.If the url is testpages.com/#id=123 I would like to geht the "123" as value for my data element.I tried window.location.hash.substring but it does not work. Can anybody help me with that? Any other ide...

    Typ

    Fragen

    Zugriffe

    5.3K

    Like

    1

    Antworten

    5
Top-Badges von floriane3493069
Passen Sie die Badges an, die Sie in Ihrem Profil anzeigen möchten.