C
C
CREV2019-08-08 22:24:31
Yandex.Metrica
CREV, 2019-08-08 22:24:31

Can someone tell me how to add goals in a wordpress plugin?

Help the teapot figure it out, there is a site on wordpress, I want to add goals to the forms, I have a super form plugin, I created a form, a shortcode is given [super_form id="518"], I have one form scattered all over the site + a callback form, t .e, there are two goals, in the metric when adding a goal, you need to specify the type, I specify a JavaScript event, then you need to specify this same goal identifier with the counter code in your form on the site, but how to fasten this identifier I already broke my head, the search opened, everywhere instructions are written under the standard plugin, help the teapot understand

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Skeaper, 2019-08-09
@Skeaper

Everything is in the documentation:
https://renstillmann.github.io/super-forms/#/analy...
https://renstillmann.github.io/super-forms/#/intro...

// contains the form ID that was submitted
$form_id = absint($atts['post']['form_id']);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question