You are here

optimizely-add-update-form.html.twig in Optimizely 8.3

<p>The basic configuration and design of the A/B tests is made by logging into your account on the <a href="http://optimize.ly/OZRdc0" target="_NEW">Optimizely website.</a></p>

{% if form['optimizely_project_code']['#default_value'] == 0 and 
      form['optimizely_oid']['#value'] == 1 %}

  <p>In order to use this module, you'll need an <a href="http://optimize.ly/OZRdc0">Optimizely account</a>. A Free 30-day trial account is available.</p>

  <ul>
    <li><strong>Add the account ID to the <a href="{{ url('optimizely.settings') }}">Account Info</a> settings page to be able to enable this entry</strong>.</li>
  </ul>
  
  <p>The default Project javascript (js) file (snippet) uses the Optimizely account ID for its file name. The "Default" / first project entry in the
  <a href="{{ url('optimizely.listing') }}">Project Listing</a> page uses the account ID value for the Project Code setting. The Default project entry targets all pages sitewide with its initial settings. Enabling this entry will result in the initial Optimizely experiments running sitewide.</p>

{% endif %}

{% if form.optimizely_project_code['#default_value'] == 0 and 
      form.optimizely_oid['#value'] == 1 %}

  <p>In order to use this module, you'll need an <a href="http://optimize.ly/OZRdc0">Optimizely account</a>. </p>

{% endif %}

{{ form }}

File

templates/optimizely-add-update-form.html.twig
View source
  1. <p>The basic configuration and design of the A/B tests is made by logging into your account on the <a href="http://optimize.ly/OZRdc0" target="_NEW">Optimizely website.</a></p>
  2. {% if form['optimizely_project_code']['#default_value'] == 0 and
  3. form['optimizely_oid']['#value'] == 1 %}
  4. <p>In order to use this module, you'll need an <a href="http://optimize.ly/OZRdc0">Optimizely account</a>. A Free 30-day trial account is available.</p>
  5. <ul>
  6. <li><strong>Add the account ID to the <a href="{{ url('optimizely.settings') }}">Account Info</a> settings page to be able to enable this entry</strong>.</li>
  7. </ul>
  8. <p>The default Project javascript (js) file (snippet) uses the Optimizely account ID for its file name. The "Default" / first project entry in the
  9. <a href="{{ url('optimizely.listing') }}">Project Listing</a> page uses the account ID value for the Project Code setting. The Default project entry targets all pages sitewide with its initial settings. Enabling this entry will result in the initial Optimizely experiments running sitewide.</p>
  10. {% endif %}
  11. {% if form.optimizely_project_code['#default_value'] == 0 and
  12. form.optimizely_oid['#value'] == 1 %}
  13. <p>In order to use this module, you'll need an <a href="http://optimize.ly/OZRdc0">Optimizely account</a>. </p>
  14. {% endif %}
  15. {{ form }}