Site logo

Archived topic

Javascript code taking out the full link

7 replies · Started by Nate on July 22, 2021

Viewing posts 1–8 of 8

One of our links has a tracking code on it but for whatever reason when that code disappears when it's clicked on. Is this something from GeneratePress or the plugin?

Here's the article with the tracking code link: https://spanishlandschool.com/best-ways-to-learn-spanish/
The tracking code shows: /?via=spanishland but then when you click the link that goes away for whatever reason
When they click that link it should go to this page: https://languatalk.com/spanish-lessons/zoom-skype/?via=spanishland

Is there anything that takes out the /?via=Spanishland at the end of this link? https://languatalk.com/spanish-lessons/zoom-skype/?via=spanishland

Hi Nate,

can you specify where the link is in the post?

Hi Ying,

It's here where the link is under LanguaTalk:

Option 2 (Affordable): LanguaTalk
There are many platforms out there for learning Spanish, and LanguaTalk is one of the best.

I see, but I don't think it's a GP issue.

Try change the underlined part of the script to the full URL:
https://www.screencast.com/t/weqZin5nC

<a href="https://languatalk.com/spanish-lessons/zoom-skype/?via=spanishland" class="tve-froala fr-basic" style="outline: none;" onclick="javascript:window.open('https://languatalk.com/spanish-lessons/zoom-skype?via=spanishland'); return false;" target="_blank" rel="noopener">LanguaTalk</a>

Let me know if this helps :)

Got it. I guess I wanted to see if you knew of a way to fix it from doing that without having to manually update the code as it's in some sort of weird plugin or something. Not sure what the Froala part of the code is doing?

It's not really theme-related. I'm sorry I can't provide a professional fix on this.

I would recommend reaching out to the code provider.

Ok, who would be a code provider or do you know of someone on that?

We wouldn't know who the code provider would be unfortunately.

This archived topic is closed to new replies.