Best answer

Problem with a magic link


Badge

I wanted to set up a Zap that sends the users email, first and last name and unique magic link form Xperiencify to Mailchimp, so I can use Merge Tags to send every user the right and individual magic link (A magic link is a link, that sends the user directly into the course content, rather than letting them first login every time, they want to watch the course content).

 

But there is a problem: The magic link is pointing to the marketplace and doesn't include the course name after the subdomain. 

 

For example, The right magic link that I want the user to get is: https://kurse.swimly-schule.de/tauch-challenge/?magic=AAW6L1ZBqkQfOCQfRCg

 

but in Zapier there is only this magic link: https://kurse.swimly-schule.de/?magic=AAW6L1ZBqkQfOCQfRCg -> Without „tauch-challenge/“ after the sub domain.

 

How do I fix this issue? I really don't want to send out emails with XP. I have put a ton of effort into designing the Mailchimp E-Mails and my users really appreciate it.

 

Thanks in advance

icon

Best answer by christina.d 11 March 2023, 03:54

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

17 replies

Userlevel 7
Badge +14

Hi @arman.m21 

Good question.

We will need detailed screenshots with how your Zap steps are configured in order to have enough context, thanks.

Badge

 

Badge

 

Badge

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.

Badge

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.

Badge

 

Badge

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.

Badge

 

Userlevel 7
Badge +14

@arman.m21

The magic link value from step 1 doesn’t include the tauch-challenge so you may have to try using a Formatter > Text > Replace to add that in.

 

Badge

 

 

In these 2 screenshots you can see the magic link being https://kurse.swimly-schule.de/?magic=AAW6L1ZBqkQfOCQfRCg and not https://kurse.swimly-schule.de/tauch-challenge/?magic=AAW6L1ZBqkQfOCQfRCg which leads the users to a wrong page.

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.

Userlevel 7
Badge +14

@arman.m21 

The magic link value from step 1 doesn’t include the tauch-challenge so you may have to try using a Formatter > Text > Replace to add that in.

 

Badge

 

 

In these 2 screenshots you can see the magic link being https://kurse.swimly-schule.de/?magic=AAW6L1ZBqkQfOCQfRCg and not https://kurse.swimly-schule.de/tauch-challenge/?magic=AAW6L1ZBqkQfOCQfRCg which leads the users to a wrong page.

And in those screenshots one can see that the magic link is pointed to the MMERGE3 Tag in Mailchimp which totally works fine but only contains the wrong magic link. I need to insert somehow the right magic link (with tauch-challenge after the subdomain and before the magic=...)

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.

Badge

@arman.m21

The magic link value from step 1 doesn’t include the tauch-challenge so you may have to try using a Formatter > Text > Replace to add that in.

 

Yes, I thought about that. But every user has a unique magic link that end in a different /?magic=… . Every individual link only needs this /tauch-challenge in them after the subdomnain but how do I do it technichally?

Userlevel 7
Badge +9

Hey there @arman.m21! Thanks for reaching out in community. 🤗

Troy’s recommendation should work!

Here’s a similar question with some rough instructions on what to do but instead of removing you’d be replacing with:

So it would likely look like:

  1. Xperiencify Trigger
  2. Formatter - Text - Replace
  3. Mailchimp Action

 

I hope some of this helps!

Badge
Is it right like this? And most  impotarntly: will all the upcoming magic links contain the right and individual magic link of each user? Because every user has a different magic link.
Thanks in advance.
​​​​​​

 

Badge

I think this didn’t work like I want it. 

 

I don’t want it to be replaced because every magic link is different and individual (only the part after magic=… for example in https://kurse.swimly-schule.de/tauch-challenge/?magic=AAW6L1ZBqkQfOCQfRCg). 

 

I need /tauch-challenge inserted into every link after the subdomain and before /?magic=…

 

How do I do it?

Userlevel 7
Badge +11

Hi there @arman.m21 👋

You’re so close on this! You’d just need to tweak the Formatter (Text > Replace) action so that it’s going to find any instances of the first part of the magic link without the “/tauch-challenge/” and then change what it finds to include it. To do that you’d need to change the Find and Replace fields to the following:

c5cfc6f8388bc833b16388b0543a7658.png

That will then only update the first part of the magic link that it receives from Xperiencify. Then in the Mailchimp action, you can select the magic link that is output by the Formatter action, so it will always be unique to the individual Mailchimp subscriber. 

Can you try making that change and let us know whether that fixes it?