title: Adding google_analytics_adid_collection_enabled meta-data tag to Cordova AndroidManifest.xml
body: <p>I'm trying to add the google_analytics_adid_collection_enabled meta-data tag <code>&lt;meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" /&gt;</code> to the application tag in my AndroidManifest.xml in my Cordova project but I can't find the correct way.</p>
  
  <p>I think it should be something like:</p>
  
  <pre><code>    &lt;edit-config file="AndroidManifest.xml" target="/manifest/application/meta-data" mode="merge" &gt;
          &lt;meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" /&gt;
      &lt;/edit-config&gt;
  </code></pre>
  
  <p>But this gives me an error:</p>
  
  <p><code>Unable to graft xml at selector "/manifest/application/meta-data" from "[MY_PROJECT_PATH]\platforms\android\app\src\main\AndroidManifest.xml" during config install</code></p>
  
  <p>I've tried a couple of other options too but they either give errors as well or they just don't put the tag in at all.</p>
  
  <p>Does anybody have an idea how to add this tag (preferably without plugins or hooks)?</p>