P
P
plggrann2017-10-13 10:18:10
PHP
plggrann, 2017-10-13 10:18:10

How to convert php code to javascript?

Good afternoon, there is a GetResponse service script written in PHP how to do the same, only in javascript.
Script:

<?php echo "<script type='text/javascript'>gaSetUserId('".$userEmail."');</script>"; ?>

The script will be used on the PlatformaLP service.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Zhivagin, 2017-10-13
@Krasnodar_etc

More or less like this))
Only the userEmail variable must be passed to the template

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question