WebSite X5Help Center

 
L. Myson
L. Myson
User

Technical question on buttons and conversion fixation  en

Author: L. Myson
Visited 276, Followers 1, Shared 0  

Hello, I have an urgent question. On the website with the advertising network, the following text is written.

The action code allows you to obtain precise information about which platforms and which webmasters in the system generate more or fewer target actions on your websites. After installing the code, you can easily add individual platforms or entire webmasters to the “Blacklist” and avoid receiving low-efficiency traffic.

The action code must be installed on the page of the successful action.

Example: a successful action for you might be a registration on the website. In this case, the action code should be placed on the “Thank you for registering” or “Registration confirmed” page.

Where should I insert the successful action code for actions like calling or sending a message on WhatsApp?

This is a basic function that is needed to track the work of advertising, I am waiting for an answer from the developers. You have a call action connection to any button, how to track a successful call now!

Posted on the
6 ANSWERS
Incomedia
Eric C.
Incomedia

Hello,
could you please provide additional details on what you are trying to do?
Where is that excerpt taken from?
In general, keep in mind that we do not provide support for custom code, however.

Eric

Read more
Posted on the from Eric C.
L. Myson
L. Myson
User
Author

Hello, I solved the issue, I created the same button via html, but I entered the tracking code into it and it works perfectly.

Add the ability to add a custom code to the action tracking button and the ability to add code 1 then press + and add code 2 code 3, etc., as the meaning of buttons if their actions cannot be tracked. I have all the buttons and paid ones. 

I understand that you can track your purchase in the system by entering the code on the successful payment page.

But if the question is in the tracking, for example, write, or call this function does not exist. it is needed in any system where you advertise to understand the successful action or not.

This is what the tracking code looks like

<script src="//obologa.ru/actions/script/?cid=5669876&action_script=1&type=script" async type="text/javascript"></script>

If you don't give advice on the code, then give me the opportunity to also change the HTML to the objects that already have

These are GPT4o chat solutions 

And of course through the custom CSS function I made the button look the way I wanted it to look.

<div id="imHTMLObject_864_54">
<button class="track-call-button" onclick="trackAndCall()">Позвонить</button>
</div>

<script>
function trackAndCall() {
// Connect the tracking script
var script = document.createElement("script");
script.src = "//obologa.ru/actions/script/?cid=5669876&action_script=1&type=script";
script.async = true;

script.onload = function() {
// Initiate a call after loading the script
window.location.href = 'tel:+700000000';
};

script.onerror = function() {
// In case of a script loading error, we also initiate a call
window.location.href = 'tel:+700000000';
};

document.head.appendChild(script);
}
</script>

Eric C.
Hello, could you please provide additional details on what you are trying to do? Where is that excerpt taken from? In general, keep in mind that we do not provide support for custom code, however. Eric
Read more
Posted on the from L. Myson
Incomedia
Eric C.
Incomedia


Hello,
what do you mean by "If you don't give advice on the code, then give me the opportunity to also change the HTML to the objects that already have"?

Eric

Read more
Posted on the from Eric C.
L. Myson
L. Myson
User
Author

I mean, it would be great to add the ability to insert HTML code into the button object. My task is simply to attach tracking scripts to the button. You already have buttons that can be customized with animations and other style settings. I just need the ability to add a script.

At first, I thought about opening the code of the button object to see its structure and integrate the script without changing the object itself. However, I realized this approach might be complicated and not worth the effort.

As a result, I suggest that on the step where you assign actions to the button (in the “Calls” section), you could create an additional tab where a user can click a plus icon to add a script.

For example, this one

<script src="//obologa.ru/actions/script/?cid=5669876&action_script=1&type=script" async type="text/javascript"></script>

And then click on + and add script number 2 from another site

<script src="//obologa.ru/actions/script/?cid=5669876&action_script=1&type=script" async type="text/javascript"></script>

Well, maybe you have something newer, I just don't know.

And by the way, I also forgot to say, if, for example, I do advertising and collect an application for something using the button on the site to send an email, add the ability to track also sent emails

Eric C.
Hello, what do you mean by "If you don't give advice on the code, then give me the opportunity to also change the HTML to the objects that already have"? Eric
Read more
Posted on the from L. Myson
Incomedia
Eric C.
Incomedia

Hello,
I will report this as a possible improvement for the Button object, in the meantime I would suggest creating a button directly through the HTML Code object, so that you can implement the desired code with it.

Eric

Read more
Posted on the from Eric C.
L. Myson
L. Myson
User
Author

Thank you, yes, I'll do it for now Gpt4o  helps 

Eric C.
Hello, I will report this as a possible improvement for the Button object, in the meantime I would suggest creating a button directly through the HTML Code object, so that you can implement the desired code with it. Eric
Read more
Posted on the from L. Myson