SOLVED

Re: How to use URL with Accordion in Marketo Email

Go to solution
Vidhi_Kare
Level 3

How to use URL with Accordion in Marketo Email

Hi 

Wish you a very happy and fulfilling 2021.

I have a question and will appreciate if anyone can help us.

We have received URLs to be added in our Email and they contain accordion parameters. Our website Landing page is coded with accordion. How can we use in our email so that it will give us the expected results.

Please find below the URL that we are trying out to add in our CTA button.

https://www.australiansuper.com/tools-and-advice/events-and-seminars?t=1&accordion=8&card=0

Also, please suggest if there is another way to achieve the same results.

 

Kind Regards,

Vidhi

Tags (2)
2 ACCEPTED SOLUTIONS

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: How to use URL with Accordion in Marketo Email

Then that's a bug in your JavaScript.  Additional query params should have no effect on operation unless the JS wrongly assumes the entire query string will look a certain way and with params in a specific order.

View solution in original post

SanfordWhiteman
Level 10 - Community Moderator

Re: How to use URL with Accordion in Marketo Email

Wouldn't say it's non-standard; if you're rendering the initial markup on the server, then you can't use the hash. Plus with the History API now you can use either one without reloading.

 

But no matter what, this isn't a Marketo thing!

View solution in original post

5 REPLIES 5
SanfordWhiteman
Level 10 - Community Moderator

Re: How to use URL with Accordion in Marketo Email

Hi — not sure what your question is? Your URL simply has a query string, which is fully supported anywhere you use URLs in Marketo.  (The fact that the query params are used for an HTML accordion effect on your website isn't important, query params could be used for anything!)

Vidhi_Kare
Level 3

Re: How to use URL with Accordion in Marketo Email

Hi @SanfordWhiteman ,

Thank you for your inputs.

Apologies for confusion. Yes, I totally understand that query params are not an issue. Actually, with UTM parameters in the link, it takes the user to the starting of the page and not straight to the accordion. Without UTM's appended, it is working fine. So, is there any way to make it work with UTM params.

Kind Regards,

Vidhi

 

SanfordWhiteman
Level 10 - Community Moderator

Re: How to use URL with Accordion in Marketo Email

Then that's a bug in your JavaScript.  Additional query params should have no effect on operation unless the JS wrongly assumes the entire query string will look a certain way and with params in a specific order.

Jay_Jiang
Level 10

Re: How to use URL with Accordion in Marketo Email

commonly, # are used instead of ? for anchors. I don't know why your web devs decided to use ?

So if you are doing something different to the standard then it's something to do with your javascript. Your web devs will need to fix it as it's not a problem with marketo emails or anything marketo related.

SanfordWhiteman
Level 10 - Community Moderator

Re: How to use URL with Accordion in Marketo Email

Wouldn't say it's non-standard; if you're rendering the initial markup on the server, then you can't use the hash. Plus with the History API now you can use either one without reloading.

 

But no matter what, this isn't a Marketo thing!